package com.rayo.accesscontrollercopy.model.db.dao;


import com.rayo.accesscontrollercopy.model.db.bean.CardTimezoneData;

import java.util.List;

/**
 * Created by yanghaojie on 16/7/27.
 */
public interface CardTimeDao {
    List<CardTimezoneData> findAll();

    CardTimezoneData findByNo(int no, int serial);

    List<CardTimezoneData> findByUserId(int userId);

    void addAll(List<CardTimezoneData> cardTime);

    void addCardTime(CardTimezoneData cardTime);

    void updateAll(List<CardTimezoneData> cardTime);

    void updateCardTime(CardTimezoneData cardTime);

    void deleteAll();

    void deleteByNo(int no);

}
